package com.foryou.wechat.service;

import com.foryou.wechat.entity.SysUserTokenEntity;

/**
 * Created by Lee.
 */
public interface UserTokensService {

    /**
     * <h2>得到用户ID</h2>
     * @param token
     * @return
     */
    Long getUserId(String token);

    SysUserTokenEntity queryByToken(String token);
}
